package com.bdc.service;

import com.bdc.service.imp.ConfServiceImp;
import com.bdc.service.imp.ProductServiceImp;

public class ServiceFactory {
	private static ProductService productService = null;
	private static ConfService confService = null;
	
	private ServiceFactory() {}
	
	public static ProductService getProductService() {
		if(productService == null) {
			productService = new ProductServiceImp();
		}
		return productService;
	}
	
	public static ConfService getConfService() {
		if(confService == null) {
			confService = new ConfServiceImp();
		}
		return confService;
	}

}
